package main

import (
    "fmt"
    "time"
    )

func main(){
    timer := time.NewTimer(5*time.Second)
    fmt.Printf("Present time : %v. \n", time.Now())
    expirationTime := <-timer.C
    fmt.Printf("Expiration time : %v. \n", expirationTime)
    fmt.Printf("Stop timer: %v. \n", timer.Stop())
}
